package com.dao;

import com.pojo.Admin;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface AdminDAO extends JpaRepository<Admin,Integer> {
    public Admin findAdminByUsernameAndPassword(String username, String password);
}
